<#assign module="member"/>

<@override name="header">
<link rel="stylesheet" href="${ctx}/assets/css/datepicker/datepicker.css">
<link rel="stylesheet" href="${ctx}/assets/css/datetimepicker.css">
</@override>
<@override name="body">

<div class="row">
	<div class="col-xs-12">
	    <div class="orders-navt col-xs-9" style="padding-left:0">
	   		<ul class="orders-nav">
	  			<li class="orders-notclick " style="width:90px;"><a class="tab" href="${ctx}/member/list">所有用户</a></li>
		  		<li class="orders-notclick" style="width:90px;"><a class="tab" href="${ctx}/member/elist">企业信息</a></li>
		  		<li class="orders-click" style="width:90px;"><a class="tab" href="${ctx}/member/gradelist">用户等级</a></li>
		  		<li class="orders-notclick" style="width:90px;"><a class="tab" href="${ctx}/member/lock">登录记录</a></li>
		  		<@shiro.hasPermission name='blacklist'>
		  			<li class="orders-notclick" style="width:90px;"><a class="tab" href="${ctx}/member/blacklist">黑名单</a></li>
		  		</@shiro.hasPermission>
		  		<@shiro.hasPermission name='phonevisit'>
		  			<li class="orders-notclick" style="width:90px;"><a class="tab" href="${ctx}/phonevisit/list">回访记录</a></li>
		  		</@shiro.hasPermission>
		  		<@shiro.isMainCompany>
				  <@shiro.hasPermission name='memberapply'>
				  	<#--
				  	<li class="orders-notclick" style="width:90px;"><a class="tab" href="${ctx}/memberapply/list">VIP申请</a></li>
				  	-->
				  </@shiro.hasPermission>
			  	</@shiro.isMainCompany>
			  	<@shiro.hasPermission name='receipt'>
			  		<li class="orders-notclick" style="width:90px;"><a class="tab" href="${ctx}/receipt/list">发票申请</a></li>
			   	</@shiro.hasPermission>
			   	<@shiro.hasPermission name='membernotice'>
			   		<li class="orders-notclick" ><a class="tab" href="${ctx}/membernotice/list">通知</a></li>
			   	</@shiro.hasPermission>
		    </ul>
		</div>
		<div class="col-xs-3" style="padding:0;">
			<@shiro.hasPermission name='memberedit'>
			<button class="pull-right buttoncss" onclick="window.location='${ctx}/member/addGrade';"><b>+</b>&nbsp;添加客户等级</button>
  			</@shiro.hasPermission>
  		</div>
	</div>
  	
</div>

<div class="margin-top">
</div>

<div class="tabta-content">  	
	<table class="table table-condensed table-striped">
		<tbody>
			<tr>
				<th style='min-width:150px;'>名称</th>
				<th style='min-width:150px;'>是否默认</th>
				<th style='min-width:150px;'>所属公司</th>
				<th style='min-width:150px;'>添加时间</th>
				<th style='min-width:150px;'>操作</th>
			</tr>
		</tbody>
	</table>
	<br><div style="text-align:center" id="NoData"></div></br>
	<ul class="pagination pull-left pagination-sm pageshow" id="pageshow" style="display:none;">
		<li><a></a></li>
	</ul>
	<ul class="pagination pull-left pagination-sm pagedata" id="pagedata" style="display:none;">
    </ul>
</div>

</@override>

<@override name="footer">
	<script type="text/javascript">
		window.daijia = {
			ctx:'${ctx}',
			userId:'<@shiro.principal property='id'/>'
		};
	</script>
	<script src="${ctx}/assets/js/jquery.paging.min.js"></script>
	<script src="${ctx}/assets/js/pushmessage.js"></script>
	<script src="${ctx}/assets/js/datepicker.js"></script>
	<script src="${ctx}/assets/js/member/gradelist.js"></script>
</@override>
<@extends name="../layout.ftl"/>
